package com.luoke.dao;


import com.luoke.pojo.entity.UserPet;
import com.luoke.util.myjdbc.BaseDao;

public interface UserPetDao extends BaseDao<UserPet> {

    UserPet getUserPetByPetIdAndUsername(int petId, String userName);

    void updateLeave(int additionalExp, int newLevel, int petId, String userName);

    void updateExp(int experience, int petId, String userName);
}
